﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Taslak.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<link href="css/fotoTag.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.min.js" type="text/javascript"></script> 
<script src="js/fotoTag.js" type="text/javascript"></script>
 
    <style type="text/css">
        .fotoEtiket
        {
            height: 600px;
            width: 1000px;
        }
        .style24
        {
            width: 362px;
        }
        .style25
        {
            width: 194px;
        }
        .style26
        {
            width: 162px;
        }
        .style27
        {
            width: 996px;
        }
    </style>
    <div id="lst">
    <table class="style27">
                <tr>
                    <td class="style24">
                        Birimler</td>
                    <td class="style25">
                        Katlar</td>
                    <td class="style26">
                        Odalar</td>
                    <td class="style26" rowspan="2">
                        <asp:Button ID="btnGoruntule" runat="server" Text="Resmi Göster" 
                            onclick="btnGoruntule_Click" />
                    </td>
                </tr>
                <tr>
                    <td class="style24">
                        <asp:DropDownList ID="drplistBirimler" ClientIDMode="AutoID" runat="server" Height="22px"
                            Width="318px" >
                        </asp:DropDownList>
                        <br />
                    </td>
                    <td class="style25">
                        <asp:DropDownList ID="drplistKatlar" runat="server" Height="22px" Width="160px">
                            <asp:ListItem>-5</asp:ListItem>
                            <asp:ListItem>-4</asp:ListItem>
                            <asp:ListItem>-3</asp:ListItem>
                            <asp:ListItem>-2</asp:ListItem>
                            <asp:ListItem>-1</asp:ListItem>
                            <asp:ListItem Selected="True">Zemin Kat</asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                            <asp:ListItem>13</asp:ListItem>
                            <asp:ListItem>14</asp:ListItem>
                            <asp:ListItem>15</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td class="style26">
                        <asp:TextBox ID="txtOdalar" runat="server"></asp:TextBox>
                        <asp:AutoCompleteExtender ID="txtOdalar_AutoCompleteExtender" runat="server" 
                            DelimiterCharacters="" Enabled="True" MinimumPrefixLength="1" 
                            ServiceMethod="GetCompletionList" ServicePath="" TargetControlID="txtOdalar" 
                            UseContextKey="True">
                    </asp:AutoCompleteExtender>
                    </td>
                </tr>
            </table>
            <br />
            
        <div id="divimg">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Panel ID="pnlImage" runat="server">
                </asp:Panel>
            </ContentTemplate>
            <Triggers><asp:PostBackTrigger ControlID="btnGoruntule" /></Triggers>
            </asp:UpdatePanel>
        </div>
        <div id="arkadas">        
            <%--            <hr />
            <ul class="arkadas">
            <asp:Repeater runat="server" ID="rpCihazlar">
                    <ItemTemplate>
                        <li id="uid-<%#Eval("Cihaz_ID") %>">
                            <%#Eval("Cihaz_Adi").ToString().ToLower() %></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>--%>
        </div>
        <div class="tags">
            <asp:Repeater runat="server" ID="rpEtiketler">
                <ItemTemplate>
                    <div id="hotspot-<%#Eval("Cihaz_ID") %>" class="hotspot" style="left: <%#Eval("Sag") %>;
                        top: <%#Eval("Ust") %>">
                        <span>
                            <u>Cihazın Adı</u><br /><%#Eval("Cihaz_Adi")%></span><span><u>Cihazın IP Adresi</u><br /><%#Eval("IP_Adresi")%></span><span><u>Cihazın MAC Adresi</u><br /><%#Eval("Mac_Adresi")%></span><span><u>İlgili Kişi</u><br /><%#Eval("Ilgili_Kisi")%></span></div>
                    <p id="hotspot-item-<%#Eval("Cihaz_ID") %>" onmouseover="showTag(<%#Eval("Cihaz_ID") %>)"
                        onmouseout="hideTag(<%#Eval("Cihaz_ID") %>)">
                        <%#Eval("Cihaz_Adi")%>
                        <span class="remove" onclick="removeTag(<%#Eval("Cihaz_ID") %>)"> (Kaldır)</span></p>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
    <br />
    <br />
    <asp:HyperLink ID="hyplinkResimKaydet" runat="server" 
        NavigateUrl="~/Default3.aspx">Resim Kaydetme Sayfasına Gitmek için Tıklayınız.</asp:HyperLink>

</asp:Content>

